package com.wormhole.wormholemanagement.controller.request;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

// 请求DTO
@Data
public class PersonPositionRequest {
    @NotBlank
    private String personName;

    @NotEmpty(message = "至少需要一个职务")
    private List<@NotBlank(message = "职务名称不能为空") String> positionTitles;
}
